
#ifndef __EQUIVALENT_TEMP_H__
#define __EQUIVALENT_TEMP_H__

#include <stdint.h>

typedef struct
{
	int16_t OutTemp;
	uint16_t FactPress;
}EquivalentTemp;

typedef enum
{
	R22= 0,
	R23= 1,
	R134= 2,
	R290= 3,
	R404= 4,
	R507= 5,
	R717= 6,
	R744= 7,
	R1270= 8,
	R410A= 9,
}Equivalent_Type;

int16_t	Sensor_PressureToTemperature(float pressure, Equivalent_Type type);
#endif
